package com.jiuyuan.service;

import com.jiuyuan.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiuyuan
 * @since 2023-02-15
 */
public interface IMenuService extends IService<Menu> {
    //需要参数获取父子级别的菜单
    List<Menu> getMenusByAdminId();
    //无需参数，用于url判断角色
    List<Menu> getMenusWithRoles();

    List<Menu> listAll();
}
